package com.njym.java.security.admin.biz;

import com.njym.java.security.admin.entity.SupportBussiness;
import com.njym.java.security.admin.mapper.SupportBussinessMapper;
import com.njym.java.security.common.biz.BaseBiz;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 
 *
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-01-10 14:11:59
 */
@Service
public class SupportBussinessBiz extends BaseBiz<SupportBussinessMapper,SupportBussiness> {
    public List<SupportBussiness> getList(String name, String place) {
//        Example example = new Example(SupportBussiness.class);
//        example.createCriteria().andLike("name","%" + name + "%").andLike("address","%" + place + "%");
        return mapper.getList(name,place);
    }
}